package com.baidu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ZYH
 * @version 1.0
 * @description:TODO
 * @date 2021/12/30 9:02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User {

    @TableId(type = IdType.AUTO)
    private Integer uid;
    private String phone;
    private String password;
    private String roles;

    @TableField(exist = false)
    private String uuid;
    @TableField(exist = false)
    private String code;
    @TableField(exist = false)
    private String checkpass;
}
